Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split global leaderboard score cache task #34

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

Syriiin
Copy link
Owner

@Syriiin Syriiin commented Apr 15, 2024

What?

Split global leaderboard score cache update task into a single task per leaderboard, rather than all in one.

Why?

Splitting the task decreases the time any given worker is blocked and allows us to:

  • Process leaderboards in parallel
  • Allow higher priority tasks to be processed first

Changes

  • Split global leaderboard score cache update task
  • Increase db container shm_size (large queries are sometimes hitting the default 64MB limit)

@Syriiin Syriiin merged commit 37653d8 into master Apr 15, 2024
3 checks passed
@Syriiin Syriiin deleted the split-lb-score-cache-task branch April 15, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant